<div class="row">
    <?php //debug($data); ?>
    <?php //debug($pros); ?>
    <div class="span2 text-right">
        <h1>
            <?php echo $this->Html->link('<i class="icon-arrow-left-3"></i>','/Customers/listAll',array('escape' => false,'title'=>'Back'))?>
        </h1>
    </div>
    <div class="span8">
        <?php $c = $data['Customer']; ?>
        <h3 class="widget-title"><?php echo $c['first_name'] . '   ' . $c['last_name'] ?></h3>
        <div class="row no-margin">
            <h5 class="uppercase c-green">Contact Informations</h5>
            <div class="span12">
                <table>
                    <tr>
                        <td class="text-left" width="30px"><b>Name:</b> </td>
                        <td class="text-left"><?php echo $c['first_name'] . '   ' . $c['last_name'] ?></td>
                        <td class="text-right"><b>Mobile:</b> </td>
                        <td class="text-left"><?php echo $c['mobile'] ?></td>
                    </tr>
                    <tr>
                        <td class="text-left"><b>Email:</b> </td>
                        <td class="text-left"><?php echo $c['email'] ?></td>
                        <td class="text-right"><b>Tel:</b> </td>
                        <td class="text-left"><?php echo $c['tel'] ?></td>
                    </tr>
                    <tr>
                        <td class="text-left"><b>Date:</b> </td>
                        <td class="text-left"><?php echo $c['created'] ?></td>
                        <td class="text-right"><b>Fax:</b> </td>
                        <td class="text-left"><?php echo $c['fax'] ?></td>
                    </tr>
                </table>
            </div>
        </div>

        <div class="row">
            <?php $c = $data['CustomerData'][0]; ?>
            <h5 class="uppercase c-green">Details</h5>
            <div class="span12">
                <table>
                    <tr>
                        <td class="text-left" width="100px"><b>Want To:</b> </td>
                        <td class="text-left"><?php echo $c['demand'] ?></td>                        
                    </tr>
                    <tr>
                        <td class="text-left" width="100px"><b><?php echo $pros['Property']['name'] ?>:</b> </td>
                        <td class="text-left"><?php echo $pros['PropertyType']['type_name'] ?></td>                        
                    </tr>
                    <tr>
                        <td class="text-left" width="100px"><b>Price:</b> </td>
                        <td class="text-left"><?php echo $c['price_start'] . '-' . $c['price_end'] ?> B</td>                        
                    </tr>
                    <tr>
                        <td class="text-left" width="100px"><b>Location:</b> </td>
                        <td class="text-left"><?php echo $c['location']?></td>                        
                    </tr>
                    <tr>
                        <td class="text-left" width="100px"><b>Preference:</b> </td>
                        <td class="text-left"><?php echo $c['preference']?></td>                        
                    </tr>
                    <tr>
                        <td class="text-left" width="100px"><b>Bedroom:</b> </td>
                        <td class="text-left"><?php echo $c['bedroom']?></td>                        
                    </tr>
                    
                </table>
            </div>
        </div>

    </div>
</div>